package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 背景图片对象 danmo_back_picture
 * 
 * @author yangle
 * @date 2025-03-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoBackPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 类型（1. 刻字 2. 印章 3.装裱） */
    @Excel(name = "类型", readConverterExp = "1=.,刻=字,2=.,印=章,3=.装裱")
    private Long types;

    /** 宽度 */
    @Excel(name = "宽度")
    private String width;

    /** 高度 */
    @Excel(name = "高度")
    private String height;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    private String a;

    private String b;

    private String c;

    private String d;


    /**
     * 颜色
     */
    private String color;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("picture", getPicture())
            .append("types", getTypes())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("remarks", getRemarks())
            .append("a", getA())
            .append("b", getB())
            .append("c", getC())
            .append("d", getD())
            .toString();
    }
}
